package cn.zwxky.android.staff.Jurisdiction.OtherSectors;

import android.content.Intent;
import android.view.View;

import com.zgscwjm.lsfbbasetemplate.LsfbActivity;
import com.zgscwjm.lsfbbasetemplate.annotation.ContentView;
import com.zgscwjm.lsfbbasetemplate.annotation.OnClick;

import cn.zwxky.android.staff.Jurisdiction.Furlough.ManageLeaveActivity;
import cn.zwxky.android.staff.R;
import cn.zwxky.android.staff.Utils.LittleUtils;

/**
 * 其他部门权限管理
 * Created by Administrator on 2017/3/30 0030.
 */
@ContentView(R.layout.aty_other_oectors_manage)
public class OtherOectorsManageActivity extends LsfbActivity {
    @Override
    public void initView() {
        LittleUtils.setsimpletitlebar(this, "请假审批");
    }

    @Override
    public void initEvent() {

    }

    /**
     * 点击事件
     * @param view
     */
    @OnClick({R.id.aty_approve_leave, R.id.fg_approve_task})
    public void onClick(View view){
        switch (view.getId()){
            case R.id.aty_approve_leave:
                startActivity(new Intent(this, ManageLeaveActivity.class));
                break;
            case R.id.fg_approve_task:
                startActivity(new Intent(this, OtherTaskActivity.class));
                break;
        }
    }

    @Override
    public void initData() {

    }
}
